package com.ibeeking.found.msg.service.common.param;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @ClassName MsgRecordParam
 * @Description 消息记录表
 * @Author ibeeking
 * @Date 2022-03-17 14:55
 **/
@Data
public class MsgRecordParam implements Serializable {
	private static final long serialVersionUID = 1L;

	private Long id;

	/**
	 * 消息类型
	 */
	private Integer type;
	/**
	 * 消息发送人ID
	 */
	private Long senderId;

	/**
	 * 消息标题
	 */
	private String title;

	/**
	 * 消息内容
	 */
	private String content;
	/**
	 * 消息优先级
	 */
	private Integer priorityLevel;
	/**
	 * 发送时间
	 */
	private LocalDateTime sendTime;

	/**
	 * 阅读状态：0-未读，1-已读
	 */
	private Integer readFlag;
	/**
	 * 跳转路径
	 */
	private String gotoUrl;
	/**
	 * 关联单据ID
	 */
	private String billId;

	private List<Long> receivers;

	private List<MsgRecordAttachParam> msgAttachs;
}
